package com.xsjiong.hoofen.entities;

public class Student {
	public String name;
	public int clsID;
	public float[] scores;
	public int[] totalRanks, clsRanks;

	public Student(String name) {
		this.name = name;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		return ((Student) o).name.equals(name);
	}

	@Override
	public int hashCode() {
		return name.hashCode();
	}
}